import { registerPanelItemProvider } from '@ibiz-template/runtime';
import { App } from 'vue';
import { PanelItemRenderProvider } from './i-biz-panel-item-render.provider';
import PanelItemRender from './i-biz-panel-item-render.vue'

export const IBizPanelItemRender = {
  install(v: App) {
    v.component('IBizPanelItemRender', PanelItemRender);
    registerPanelItemProvider(
      'PREDEFINE_RENDER',
      () => new PanelItemRenderProvider(),
    );
  }  
};
